package com.tupu.mapper.permission;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tupu.entity.permission.PermissionInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PermissionListMapper extends BaseMapper<PermissionInfo> {

    @Select("select permission_des from permission_menu where find_in_set(permission_id,#{Ids})")
    List<String> findDescribe(@Param("Ids") String Ids);
}
